@import 'common';

body {
    min-width: 320px;
    width: 15rem;
    margin: 0 auto;
    line-height: 1.5;
    font-family: Arial,Helvetica,STHeiTi,sans-serif;
    background-color: #F2F2F2;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.search-content{
    position: fixed;
    display: flex;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: 1.76rem;
    background-color: #FECE6A;
    .mine,.fenlei{
        width: 1.76rem;
        height: 1.76rem;
        text-align: center;
        padding-top: .2rem;
        a{
            img{
                width: .88rem;
            }
        }
    }
    .search-box{
        flex:1;
        padding: .24rem .6rem;
        text-align: center;
        img{
           height: 1.4rem;
        }
    }
    
}
//int-search   
.int-search{
    width: 100%;
    height: 1.6rem;
    background: #FED070;
    text-align: center;
    line-height: 1rem;
    padding: .2rem 0rem;
    input{
        width: 84%;
        height: 1.2rem;
        padding-left: .6rem;
        outline: none;
        border: 0;
        border-radius: .5rem;
    }
}

//轮播图
.lunbotu{
    width: 100%;
    height: 4.58rem;
    background-color: #FED070;
    ul{
        width: 100%;
        height: 100%;
        li{
            width: 90%;
            height: 100%;
            margin: 0 auto;
            border-radius: .2rem;
            overflow: hidden;
            img{
                width: 100%;
                height: 100%;
            }
        }
    }
}

//banner
.banner{
    display: flex;
    width: 100%;
    height: 7.36rem - .92rem;
    background-color: #FEEDBA;
    li{
        flex: 1;
    }
}

nav{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    a{
        flex: 20%;
        padding-top: .2rem;
        height: 2.84rem;
        text-align: center;
        img{
            width: 1.68rem;
            height: 1.68rem;
        }
        span{
            display: block;
        }
    }
}

.dalibao{
    width: 100%;
    height: 4.88rem;
    .fl{
        float: left;
        width: 50%;
        padding: .2rem 0rem;
        img{
            width: 100%;
        }
    }
    .fr{
        float: left;
        width: 50%;
        padding: .2rem 0rem;
        img{
            float: left;
            height: 4.68rem;
            margin-left: 2%;
            width: 48%;
        }
    }
}

.miaosha{
    margin: .1rem auto;
    width: 94%;
    background-color: white;
    height: 9.9rem;
    a{
        display: block;
        width: 49.6%;
        float: left;
        &:nth-child(2n+1){
            border-right: .01rem solid #ccc;
        }
        &:nth-child(3){
            border-bottom: .01rem solid #ccc;
        }
        &:nth-child(4){
            border-bottom: .01rem solid #ccc;
        }
        .imgers{
            width: 100%;
            img{
                display: block;
                box-sizing: border-box;
                width: 50%;
                float: left;
                padding: .6rem;
            }
        }
        h3{
            padding-left: .4rem;
            font-size: .32rem;
            font-weight: 600;
        }
        p{
            padding-left: .4rem;
        }
    }
}

.retui{
    width: 100%;
    h2{
        width: 100%;
        font-size: .5rem;
        font-weight: 600;
        padding-left: .4rem;
    }
    .detai{
        width: 100%;
        a{
            display: block;
            float: left;
            width: 30%;
            border-radius: .4rem;
            margin-left: .37rem;
            background-color: white;
            text-align: center;
        }
        img{
            width: 3rem;
        }
    }
}

.footer-box{
    position: fixed;
    display: flex;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: 1.76rem;
    background-color: white;
    a{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        &::before{
            content: '';
            display: block;
            width: 1rem;
            height: 1rem;
            background-image: url(../imges/footer01.png);
            background-size: 1rem;
        }
    }
}